200
|
How do I arrange my columns on multiple lines

axComboBox1.HeaderHeight = 32;
(axComboBox1.Columns.Add("") as EXCOMBOBOXLib.Column).HTMLCaption = "Line 1<br>Line 2";
|
199
|
How can I display all cells using HTML format

(axComboBox1.Columns.Add("HTML") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
axComboBox1.Items.AddItem("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.");
|
198
|
How can I display all cells using multiple lines

(axComboBox1.Columns.Add("MultipleLine") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false);
(axComboBox1.Columns.Add("SingleLine") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,true);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("This is a bit of long text that should break the line"),1,"this is a bit of long text that's displayed on a single line");
|
197
|
How do change the vertical alignment for all cells in the column

(axComboBox1.Columns.Add("MultipleLine") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false);
(axComboBox1.Columns.Add("VAlign") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellVAlignment,2);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("This is a bit of long text that should break the line"),1,"bottom");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem("This is a bit of long text that should break the line"),1,"bottom");
|
196
|
How do change the foreground color for all cells in the column

(axComboBox1.Columns.Add("ForeColor") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellForeColor,255);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
195
|
How do change the background color for all cells in the column

(axComboBox1.Columns.Add("BackColor") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellBackColor,255);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
194
|
How do I show buttons for all cells in the column

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Button") as EXCOMBOBOXLib.Column);
var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellButtonAutoWidth,true);
axComboBox1.Items.AddItem(" Button 1 ");
axComboBox1.Items.AddItem(" Button 2 ");
|
193
|
How do I show buttons for all cells in the column

(axComboBox1.Columns.Add("Button") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
192
|
How do I display radio buttons for all cells in the column

(axComboBox1.Columns.Add("Radio") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasRadioButton,true);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
191
|
How do I display checkboxes for all cells in the column

(axComboBox1.Columns.Add("Check") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
190
|
How can I display a tooltip when the cursor hovers the column

(axComboBox1.Columns.Add("tooltip") as EXCOMBOBOXLib.Column).ToolTip = "This is a bit of text that is shown when user hovers the column.";
|
189
|
Is there any function to assign a key to a column instead using its name or capion

(axComboBox1.Columns.Add("Data") as EXCOMBOBOXLib.Column).Key = "DKey";
axComboBox1.Columns["DKey"].Caption = "new caption";
|
188
|
Is there any function to assign any extra data to a column

(axComboBox1.Columns.Add("Data") as EXCOMBOBOXLib.Column).Data = "your extra data";
|
187
|
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header

(axComboBox1.Columns.Add("Sort") as EXCOMBOBOXLib.Column).DefaultSortOrder = true;
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Auto") as EXCOMBOBOXLib.Column);
var_Column.WidthAutoResize = true;
var_Column.MinWidthAutoResize = 32;
var_Column.MaxWidthAutoResize = 128;
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Auto") as EXCOMBOBOXLib.Column);
var_Column.WidthAutoResize = true;
var_Column.MinWidthAutoResize = 32;
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
184
|
Is there any option to resize the column based on its data, captions

(axComboBox1.Columns.Add("A") as EXCOMBOBOXLib.Column).WidthAutoResize = true;
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
183
|
How can I align the icon in the column's header in the center

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("") as EXCOMBOBOXLib.Column);
var_Column.HeaderImage = 1;
var_Column.HeaderImageAlignment = EXCOMBOBOXLib.AlignmentEnum.CenterAlignment;
|
182
|
How do I align the icon in the column's header to the right

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("ColumnName") as EXCOMBOBOXLib.Column);
var_Column.HeaderImage = 1;
var_Column.HeaderImageAlignment = EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
|
181
|
How do I show or hide the sorting icons, but still need sorting

(axComboBox1.Columns.Add("Sorted") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
axComboBox1.Columns[0].DisplaySortIcon = false;
|
180
|
How do I enable or disable the entire column

axComboBox1.Columns.Add("C1");
(axComboBox1.Columns.Add("Disabled") as EXCOMBOBOXLib.Column).Enabled = false;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem(0),1,"0.1");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem(1),1,"1.1");
|
179
|
How do I disable drag and drop columns

(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).AllowDragging = false;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).AllowDragging = false;
|
178
|
How do I disable resizing a column at runtime

(axComboBox1.Columns.Add("Unsizable") as EXCOMBOBOXLib.Column).AllowSizing = false;
axComboBox1.Columns.Add("C2");
axComboBox1.Columns.Add("C3");
axComboBox1.Columns.Add("C4");
|
177
|
How can I align the column to the right, and its caption too

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.Alignment = EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
var_Column.HeaderAlignment = EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
176
|
How can I align the column to the right

(axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column).Alignment = EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
175
|
How do I change the column's caption

(axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column).Caption = "new caption";
|
174
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

axComboBox1.set_FormatAnchor(false,"<b><u><fgcolor=880000> </fgcolor></u></b>");
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaptionFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaptionFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
axComboBox1.Items.AddItem("next item");
|
173
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

axComboBox1.set_FormatAnchor(true,"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaptionFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaptionFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
|
172
|
Can I change the font for the tooltip

axComboBox1.ToolTipDelay = 1;
axComboBox1.ToolTipWidth = 364;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";
|
171
|
Can I change the font for the tooltip

axComboBox1.ToolTipDelay = 1;
stdole.IFontDisp var_StdFont = axComboBox1.ToolTipFont;
var_StdFont.Name = "Tahoma";
var_StdFont.Size = 14;
axComboBox1.ToolTipWidth = 364;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
|
170
|
Can I change the order of the buttons in the scroll bar

axComboBox1.set_ScrollOrderParts(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,"t,l,r");
axComboBox1.set_ScrollOrderParts(EXCOMBOBOXLib.ScrollBarEnum.exVScroll,"t,l,r");
|
169
|
The thumb size seems to be very small. Can I make it bigger

axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).Width = 256;
axComboBox1.set_ScrollThumbSize(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,64);
|
168
|
How can I display my text on the scroll bar, using a different font

axComboBox1.set_ScrollPartCaption(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exThumbPart,"This is <s><font Tahoma;12> just </font></s> text");
axComboBox1.ColumnAutoResize = false;
axComboBox1.ScrollHeight = 20;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).Width = 256;
|
167
|
How can I display my text on the scroll bar, using a different font

axComboBox1.set_ScrollPartCaption(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exThumbPart,"This is just a text");
axComboBox1.get_ScrollFont(EXCOMBOBOXLib.ScrollBarEnum.exHScroll).Size = 12;
axComboBox1.ColumnAutoResize = false;
axComboBox1.ScrollHeight = 20;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).Width = 256;
|
166
|
How can I display my text on the scroll bar

axComboBox1.set_ScrollPartCaption(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exThumbPart,"this is just a text");
axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).Width = 256;
|
165
|
How do I enlarge or change the size of the control's scrollbars

axComboBox1.ScrollHeight = 18;
axComboBox1.ScrollWidth = 18;
axComboBox1.ScrollButtonWidth = 18;
axComboBox1.ScrollButtonHeight = 18;
|
164
|
How do I assign a tooltip to a scrollbar

axComboBox1.set_ScrollToolTip(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).Width = 256;
|
163
|
How do I assign an icon to the button in the scrollbar

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axComboBox1.set_ScrollPartVisible(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,true);
axComboBox1.set_ScrollPartCaption(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>");
axComboBox1.ScrollHeight = 18;
axComboBox1.ScrollButtonWidth = 18;
|
162
|
I need to add a button in the scroll bar. Is this possible

axComboBox1.set_ScrollPartVisible(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,true);
axComboBox1.set_ScrollPartCaption(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,"1");
|
161
|
Can I display an additional buttons in the scroll bar

axComboBox1.set_ScrollPartVisible(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,true);
axComboBox1.set_ScrollPartVisible(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB2Part,true);
axComboBox1.set_ScrollPartVisible(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exRightB6Part,true);
axComboBox1.set_ScrollPartVisible(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exRightB5Part,true);
|
160
|
How can I display a custom size picture to a cell or item

axComboBox1.DefaultItemHeight = 48;
axComboBox1.Columns.Add("C1");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellPicture(var_Items.AddItem("Text"),0,(axComboBox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp));
|
159
|
How can I display a multiple pictures to a cell or item

axComboBox1.DefaultItemHeight = 48;
axComboBox1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axComboBox1.set_HTMLPicture("pic2","c:\\exontrol\\images\\auction.gif");
axComboBox1.Columns.Add("C1");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaptionFormat(var_Items.AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
|
158
|
How do I change the column's foreground color for numbers between an interval - Range

EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("%0 >= 2 and %0 <= 10",null);
var_ConditionalFormat.Bold = true;
var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
var_ConditionalFormat.ApplyTo = (EXCOMBOBOXLib.FormatApplyToEnum)0x1;
axComboBox1.Columns.Add("N1");
axComboBox1.Columns.Add("N2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem(1),1,2);
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem(3),1,3);
EXCOMBOBOXLib.Items var_Items2 = axComboBox1.Items;
var_Items2.set_CellCaption(var_Items2.AddItem(10),1,11);
EXCOMBOBOXLib.Items var_Items3 = axComboBox1.Items;
var_Items3.set_CellCaption(var_Items3.AddItem(13),1,31);
axComboBox1.SearchColumnIndex = 1;
|
157
|
How do I change the item's foreground color for numbers between an interval - Range

axComboBox1.ConditionalFormats.Add("%0 >= 2 and %0 <= 10",null).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
156
|
How do I change the item's background color for numbers less than a value

axComboBox1.ConditionalFormats.Add("%0 < 10",null).BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
155
|
How do I underline the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).Underline = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
154
|
How do I highlight in italic the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).StrikeOut = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
153
|
How do I highlight in italic the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).Italic = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
152
|
How do I highlight in bold the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).Bold = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
151
|
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
axComboBox1.HasButtons = EXCOMBOBOXLib.ExpandButtonEnum.exCustom;
axComboBox1.set_HasButtonsCustom(false,16777216);
axComboBox1.set_HasButtonsCustom(true,33554432);
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root 1");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
var_Items.set_ExpandItem(h,true);
h = var_Items.AddItem("Root 2");
var_Items.InsertItem(h,null,"Child");
|
150
|
Can I use your EBN files to change the visual appearance for radio buttons

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.set_RadioImage(false,16777216);
axComboBox1.set_RadioImage(true,33554432);
(axComboBox1.Columns.Add("Radio") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasRadioButton,true);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem("Radio 1");
var_Items.set_CellState(var_Items.AddItem("Radio 2"),0,1);
var_Items.AddItem("Radio 3");
|
149
|
Can I use your EBN files to change the visual appearance for checkbox cells

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.set_CheckImage(EXCOMBOBOXLib.CheckStateEnum.Unchecked,16777216);
axComboBox1.set_CheckImage(EXCOMBOBOXLib.CheckStateEnum.Checked,33554432);
(axComboBox1.Columns.Add("Check") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem("Check 1");
var_Items.set_CellState(var_Items.AddItem("Check 2"),0,1);
|
148
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbH,0x3000000);
axComboBox1.ColumnAutoResize = false;
axComboBox1.ScrollBySingleLine = true;
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 483;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemHeight(var_Items.AddItem("Item 1"),248);
axComboBox1.Items.AddItem("Item 2");
|
147
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 483;
|
146
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSBtn,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSBtnP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSBtnH,0x3000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exScrollHoverAll | EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollThumb,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("Level 1") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("E1") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E2") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E3") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E4") as EXCOMBOBOXLib.Column).Width = 32;
axComboBox1.ColumnAutoResize = false;
|
145
|
Is there any option to highligth the column from the cursor - point

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exCursorHoverColumn,0x1000000);
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("Level 1") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("E1") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E2") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E3") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E4") as EXCOMBOBOXLib.Column).Width = 32;
|
144
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSelBackColorFilter,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSelForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,20,20)));
(axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column).DisplayFilterButton = true;
|
143
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateHeader,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayUp,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayDown,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollRange,(uint)ColorTranslator.ToWin32(Color.FromArgb(230,230,230)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateSeparatorBar,(uint)ColorTranslator.ToWin32(Color.FromArgb(230,230,230)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateSelect,0x1000000);
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Date") as EXCOMBOBOXLib.Column);
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exDate;
var_Column.DisplayFilterButton = true;
var_Column.DisplayFilterDate = true;
|
142
|
How do I change the visual aspect of the close button in the filter bar, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exFooterFilterBarButton,0x1000000);
(axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column).FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
141
|
How do I change the visual aspect of buttons in the cell, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exCellButtonUp,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSizeGrip,0x2000000);
axComboBox1.SelForeColor = Color.FromArgb(0,0,0);
axComboBox1.ShowFocusRect = false;
(axComboBox1.Columns.Add("Column 1") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
axComboBox1.Items.AddItem("Button 1");
axComboBox1.Items.AddItem("Button 2");
axComboBox1.Columns.Add("Column 2");
|
140
|
How do I change the visual aspect of the drop down filter button, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
(axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column).DisplayFilterButton = true;
|
139
|
Is there any function to get the control's data in your x-script format / template

axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem("ToTemplate()");
|
138
|
How do I enable resizing the columns at runtime

axComboBox1.ColumnsAllowSizing = true;
axComboBox1.MarkSearchColumn = false;
axComboBox1.HeaderVisible = false;
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exVLines;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("Item 1"),1,"Sub Item 1");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem("Item 2"),1,"Sub Item 2");
|
137
|
How do I enable resizing ( changing the height ) the items at runtime

axComboBox1.ItemsAllowSizing = EXCOMBOBOXLib.ItemsAllowSizingEnum.exResizeItem;
axComboBox1.ScrollBySingleLine = true;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem("Item 1");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemHeight(var_Items.AddItem("Item 2"),48);
axComboBox1.Items.AddItem("Item 3");
|
136
|
How can I sort by multiple columns

axComboBox1.SingleSort = false;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
|
135
|
How can I add several columns to control's sort bar

axComboBox1.SortBarVisible = true;
axComboBox1.SortBarColumnWidth = 48;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending;
|
134
|
How can I change the width of the columns being displayed in the sort bar

axComboBox1.SortBarVisible = true;
axComboBox1.SortBarColumnWidth = 48;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending;
|
133
|
How can I change the height of the sort bar's

axComboBox1.SortBarVisible = true;
axComboBox1.SortBarHeight = 48;
|
132
|
How can I change the sort bar's foreground color

axComboBox1.SortBarVisible = true;
axComboBox1.ForeColorSortBar = Color.FromArgb(255,0,0);
|
131
|
How can I change the visual appearance of the control's sort bar, using EBN files

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.SortBarVisible = true;
(axComboBox1.GetOcx() as EXCOMBOBOXLib.ComboBox).BackColorSortBar = 0x1000000;
(axComboBox1.GetOcx() as EXCOMBOBOXLib.ComboBox).BackColorSortBarCaption = 0x2000000;
axComboBox1.Appearance = EXCOMBOBOXLib.AppearanceEnum.None2;
|
130
|
How can I change the sort bar's background color

axComboBox1.SortBarVisible = true;
axComboBox1.BackColorSortBar = Color.FromArgb(255,0,0);
axComboBox1.BackColorSortBarCaption = Color.FromArgb(128,0,0);
|
129
|
How can I change the default caption being displayed in the control's sort bar

axComboBox1.SortBarVisible = true;
axComboBox1.SortBarCaption = "new caption";
|
128
|
How can I show the locked / fixed items on the bottom side of the control

axComboBox1.ShowLockedItems = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_LockedItemCount(EXCOMBOBOXLib.VAlignmentEnum.exMiddle,2);
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exMiddle,0),0,"locked item 1");
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exMiddle,1),0,"locked item 2");
var_Items.AddItem("un-locked item");
|
127
|
How can I show the locked / fixed items

axComboBox1.ShowLockedItems = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_LockedItemCount(EXCOMBOBOXLib.VAlignmentEnum.exTop,2);
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"locked item 1");
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exTop,1),0,"locked item 2");
var_Items.AddItem("un-locked item");
|
126
|
How can I hide the locked / fixed items

axComboBox1.ShowLockedItems = false;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_LockedItemCount(EXCOMBOBOXLib.VAlignmentEnum.exTop,1);
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"locked item");
var_Items.AddItem("un-locked item");
|
125
|
How can I show the control's sort bar

axComboBox1.SortBarVisible = true;
|
124
|
How can I change the header's background color, when multiple levels are displayed

axComboBox1.BackColorLevelHeader = Color.FromArgb(250,0,0);
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("Level 1") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = 1;
|
123
|
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

axComboBox1.ExpandOnSearch = true;
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
axComboBox1.AutoSearch = true;
(axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),null,"some text"),null,"another text");
var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),null,"some text"),null,"another text");
|
122
|
Do you have some function to load data from a safe array

axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
|
121
|
Do you have some function to retrieve all items to a safe array

axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.Items.AddItem(1);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.Items.AddItem(2);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.Items.AddItem(3);
|
120
|
How can I hide a column

(axComboBox1.Columns.Add("Hidden") as EXCOMBOBOXLib.Column).Visible = false;
axComboBox1.Columns.Add("2");
axComboBox1.Columns.Add("3");
axComboBox1.Columns.Add("4");
axComboBox1.Columns.Add("5");
|
119
|
I've seen that the width of the tooltip is variable. Can I make it larger

axComboBox1.ToolTipWidth = 328;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip that should be very very very very very very very long";
|
118
|
How do I disable showing the tooltip for all control
axComboBox1.ToolTipDelay = 0;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
|
117
|
How do I let the tooltip being displayed longer

axComboBox1.ToolTipPopDelay = 10000;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
|
116
|
How do I show the tooltip quicker

axComboBox1.ToolTipDelay = 1;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
|
115
|
How do I change the caption being displayed in the control's filter bar

axComboBox1.FilterBarCaption = "your filter caption";
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
114
|
How do I search case sensitive, using your incremental search feature

axComboBox1.AutoSearch = true;
axComboBox1.ASCIILower = "";
EXCOMBOBOXLib.Columns var_Columns = axComboBox1.Columns;
(var_Columns.Add("exStartWith") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exStartWith;
(var_Columns.Add("exContains") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("text"),1,"another text");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem("text"),1,"another text");
|
113
|
How do I disable the control

axComboBox1.Enabled = false;
|
112
|
How do I enable the incremental search feature within a column

axComboBox1.AutoSearch = true;
EXCOMBOBOXLib.Columns var_Columns = axComboBox1.Columns;
(var_Columns.Add("exStartWith") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exStartWith;
(var_Columns.Add("exContains") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("text"),1,"another text");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem("text"),1,"another text");
|
111
|
How do I call your x-script language

EXCOMBOBOXLib.Column var_Column = (axComboBox1.ExecuteTemplate("Columns.Add(`Column`)") as EXCOMBOBOXLib.Column);
var_Column.HeaderStrikeOut = true;
var_Column.HeaderBold = true;
|
110
|
How do I call your x-script language

axComboBox1.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";
|
109
|
How do I show alternate rows in different background color

axComboBox1.BackColorAlternate = Color.FromArgb(240,240,240);
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem("Item 1");
var_Items.AddItem("Item 2");
var_Items.AddItem("Item 3");
var_Items.AddItem("Item 4");
var_Items.AddItem("Item 5");
|
108
|
How do I enlarge the drop down filter window

axComboBox1.FilterBarDropDownHeight = "-320";
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterBarDropDownWidth = "-320";
axComboBox1.Items.AddItem("Item 1");
axComboBox1.Items.AddItem("Item 2");
|
107
|
How do I filter programatically the control

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exPattern;
var_Column.Filter = "Item*";
axComboBox1.Items.AddItem("Item 1");
axComboBox1.Items.AddItem("");
axComboBox1.Items.AddItem("Item 2");
axComboBox1.ApplyFilter();
|
106
|
How do I change the font of the control's filterbar

axComboBox1.FilterBarFont.Size = 20;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
105
|
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
(axComboBox1.GetOcx() as EXCOMBOBOXLib.ComboBox).FilterBarBackColor = 0x1000000;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
104
|
How do I change the background color of the control's filterbar

axComboBox1.FilterBarBackColor = Color.FromArgb(240,240,240);
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
103
|
How do I change the foreground color of the control's filterbar

axComboBox1.FilterBarForeColor = Color.FromArgb(255,0,0);
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
102
|
How do I change the height of the control's filterbar

axComboBox1.FilterBarHeight = 32;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
101
|
How do I change the header's foreground color

axComboBox1.HeaderForeColor = Color.FromArgb(255,0,0);
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
axComboBox1.Items.AddItem("Item 1");
|